import 'package:get/get.dart';
import 'package:industry_net/base/common/route/routes.dart';
import 'package:industry_net/pages/me/setup/modify_phone/main/state.dart';

class ModifyPhoneController extends GetxController {
  final state = ModifyPhoneState();
  @override
  void onInit() {
    super.onInit();
    state.phone = Get.arguments['phone'];
  }

  void nextStep() {
    Get.offAndToNamed(RouterPath.modify_phone2,
        arguments: {'phone': state.phone.value});
  }
}
